package com.cloudkinto.service.fbaorderinput.vo;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author zhangyy
 * @date 2020/8/20 13:54
 * @description:
 */
@Data
public class FbaOrderInputPackageAdd {


    @NotNull(message = "pls.input.product.length")
    private Double packageLenght;

    @NotNull(message = "pls.input.product.width")
    private Double packageWidth;

    @NotNull(message = "pls.input.product.height")
    private Double packageHeight;

    @NotNull(message = "pls.input.product.weigh")
    private Double packageWeight;

    @NotNull(message = "pls.input.package.count")
    private Integer packageCount;

    @NotEmpty(message = "pls.input.product.info")
    private List<FbaOrderInputProductAdd> productAddList;
}
